import {create} from 'zustand'

export const themeStore = create((set)=>(
  {
    dark:false,
    switchTheme: ()=>set((state)=>({
      dark: !state.dark
    }))
  }
));
